<?php
/**
 * @package WordPress
 * @subpackage Freshine
 * @since Freshine 1.1.0
 */
?>

<?php get_header(); ?>

	<div id="f9-mainbody" class="wrap">
		<div class="main clearfix">
			<?php get_sidebar( 'left' );?>
			
			<div id="f9-container" class="<?php f9_container_class() ?>">
				<?php get_template_part( 'featured', 'product' ); ?>
            	<?php get_sidebar( 'content-top' );?>
				<div id="f9-content">
					<?php get_template_part( 'latest', 'product' ); ?>
				</div><!-- #f9-content -->
				<?php get_sidebar( 'content-bottom' );?>
				<div id="f9-sidebar-right" class="widget-area">
				<?php if (is_active_sidebar( 'sidebar-right' )) : ?>
					<?php dynamic_sidebar( 'sidebar-right' ); ?>
				<?php else : ?>
					<div class="widget widget_text"><h2 class="widget_title"><span>Sample right widget</span></h2>
					<div class="textwidget">
					<p>This widget be displayed because you haven't any widget in sidebar bottom. To add new widgets you can access to WP Admin > Appearance > Widgets</p>
					</div>
					</div>
				<?php endif; ?>
				</div>
			</div><!-- #f9-container -->
            <?php //get_sidebar( 'right' );?>
		</div>
	</div><!-- #f9-mainbody -->

<?php get_footer(); ?>